<include file="Public:header" />

<div class="container">

	<div class="panel panel-info">
	
	  <div class="panel-heading">
	    <h1 class="panel-title">注册</h1>
	  </div>
	  
	  <div class="panel-body">
	  
	    <form class="form-horizontal" role="form" action="__URL__/regist" method="post">
		  <div class="form-group">
		    <label for="inputUserName" class="col-sm-2 control-label">用户名：</label>
		    <div class="col-xs-4">
		      <input type="text" class="form-control" id="inputUserName" name="inputUserName" placeholder="用户名">
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <label for="inputPwd" class="col-sm-2 control-label">密码：</label>
		    <div class="col-xs-4">
		      <input type="password" class="form-control" id="inputPwd" name="inputPwd" placeholder="密码">
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <label for="inputPwd1" class="col-sm-2 control-label">确认密码：</label>
		    <div class="col-xs-4">
		      <input type="password" class="form-control" id="inputPwd1" name="inputPwd1" placeholder="确认密码">
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <label for="inputEmail" class="col-sm-2 control-label">邮箱：</label>
		    <div class="col-xs-4">
		      <input type="email" class="form-control" id="inputEmail" name="inputEmail" placeholder="邮箱">
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <label for="inputPhone" class="col-sm-2 control-label">手机号码：</label>
		    <div class="col-xs-4">
		      <input type="text" class="form-control" id="inputPhone" name="inputPhone" placeholder="手机号码">
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <label for="inputVerify" class="col-sm-2 control-label">验证码：</label>
		    <div class="col-xs-4">
		      <input type="text" class="form-control" id="inputVerify" name="inputVerify" placeholder="验证码">	      
		    </div>
		    <div class="col-xs-4">
		      <img id="verify" alt="验证码" src="__URL__/verify" onclick="fleshVerify()">
		    </div>
		  </div>
		  
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		      <button type="submit" class="btn btn-primary btn-lg">提交</button>
		    </div>
		  </div>
		</form>
	  </div>
	</div>

	
</div>

<script language="JavaScript">
 function fleshVerify(){ 
    //重载验证码
    var time = new Date().getTime();
    document.getElementById('verify').src= '__URL__/verify/'+time;
 }
 </script>
	
<include file="Public:footer" />
